#include<stdio.h>
int main()
{
    int a;
   while (scanf("%d",&a)!=EOF)
   {
       int i,j,k=0,b;
       b=a+1;
       for(i=a;i>=1;i--)
       {
      b--;
           k++;
           for (j=1;j<k;j++)
               printf(" ");
           for(j=b;j>=1;j--)
           {
               printf("* ");
           }
           
           putchar('\n');
           
       }
   }
    
    return 0;
}
